package com.example.testcomposeproject.ui.theme.dimensions

import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp

val phoneDimensions = PhoneDimensions()
/**
 * @author: hemin
 * @date: 2024/4/1
 * @Desc:定义pad一些通用尺寸
 */
class PhoneDimensions (

    /**
     * 左边toolbar left arrow 原生放大4倍
     */
    scaleLeftArrow: Int= 4,
    /**
     * 边框宽度  1.dp
     */
    borderWidth: Dp = 1.dp,
    /**
     * 小内边距  4.dp
     */
    smallPadding: Dp = 4.dp,
    /*
     *中等内边距  10.dp
     */
    mediumPadding: Dp = 10.dp,

    /**
     * 大内边距  14.dp
     */
    largePadding: Dp = 14.dp,

    /**
     * 超大内边距  16.dp
     */
    hugePadding: Dp = 20.dp,

    /**
     * 超大超大内边距  28.dp
     */
    hugeHugePadding: Dp = 28.dp,

    /**
     * 小圆角  5.dp
     */
    smallCorner: Dp = 5.dp,

    /**
     * 中等圆角  10.dp
     */
    mediumCorner: Dp = 10.dp,

    /**
     * 大圆角  16.dp
     */
    largeCorner: Dp = 16.dp,

    /**
     * 中间btn高度  64.dp
     */
    middleBtnHeight: Dp = 64.dp,

    /**
     * 中间bar高度  80.dp
     */
    middleBarHeight: Dp = 32.dp,

    /**
     * icon尺寸 hub 64.dp
     */
    iconSize: Dp = 32.dp,

    /**
     * cco Card高度 组策略Card高度  450.dp
     */
    cardMinSize: Dp = 450.dp,
    /**
     * 按钮高度  44.dp
     */
    btnHeight: Dp = 44.dp,

    toolBarHeight: Dp = 60.dp,

    /**
     * 搜索框宽度  360.dp
     */
    searchBarWidth: Dp = 240.dp,
) : AppDimensions(
    scaleLeftArrow, borderWidth, smallPadding, mediumPadding,
    largePadding, hugePadding, hugeHugePadding, smallCorner, mediumCorner,
    largeCorner, middleBtnHeight, middleBarHeight,iconSize, cardMinSize,
    btnHeight, toolBarHeight, searchBarWidth
)
